home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / 1-appstogo-info.txt < prev   
Encoding:
Text File  |  1994-10-01  |  3.1 KB  |  72 lines  |  [TEXT/unix]

  1. Metrowerks/AppsToGo Installation:
  2.  
  3. 1)    Start with a new copy of CodeWarrior CW4.
  4. 2)    Copy the AppsToGo package your machine.
  5.  
  6. Now that everything is on the same hard disk, you need to first get the AppsToGo header files
  7. placed correctly and precompiled.
  8.  
  9. Copy the “DTS.Lib.headers” folder into the CodeWarrior project folder.  A good place is the
  10. “Metrowerks C/C++ ƒ” folder.
  11.  
  12. Now open the copy of “DTS.Lib.headers” and double-click on “DTS2Headers.project”.  Single-click
  13. on the DTS2Headers entry in the project (so that the precompile menu option is no longer
  14. grayed out).  Precompile.  (This will take a while.)
  15.  
  16. When the precompile finally finishes, save as “DTS2Headers”.  The current directory is a fine
  17. place to save the precompiled headers.
  18.  
  19. Repeat the precompile process for “DTS2Headers.project”.  The “DTS2Headers” are for 68k, and
  20. the “DTS3Headers” are for PPC.
  21.  
  22. One this process is done, then the libraries need to be built for both 68k and PPC.
  23.  
  24. To build the libraries, first open the “DTS.Lib folder.”  You will find three directories:
  25.  
  26. DTS1 (THINK)
  27. DTS2 (MW.68k)
  28. DTS3 (MW.PPC)
  29.  
  30. View the window in “View by name” mode.  Then single-click on the triangle for “DTS2 (MW.68k)”
  31. to view the contents in-line.  Select the contents, and then drag the selected contents above
  32. “DTS1 (THINK)” and drop it.  This moves the contents of “DTS1 (THINK)” to the same level as all
  33. of the source files.
  34.  
  35. If you do not do the above step, when you try to build the libraries, CW will not be able to
  36. find the source files.  The project file needs to be at the same directory level or higher
  37. than the source files.
  38.  
  39. Once you have the project files for the libraries placed correctly, just double-click the first
  40. one and do a command-M to make the library.  It will be saved right by the project file.  Do
  41. all of the “DTS2 (MW.68k)” libraries in this fashion.
  42.  
  43. Once they are all made, you will want to move them into a CW folder for libraries.  Inside of
  44. “Metrowerks C/C++ ƒ:Libraries ƒ”.  I create a directory called “ATG.68k.libraries” and move
  45. the libraries into this.
  46.  
  47. Once the libraries are built, you can move the project files back into the “DTS2 (MW.68k)”
  48. folder.  There should be 11 AppsToGo libraries for the 68k side of Metrowerks.
  49.  
  50. Repeat this process for “DTS3 (MW.PPC)”.  You are now ready to build either 68k or PPC
  51. applications with AppsToGo and Metrowerks.  There should only be 10 libraries for the
  52. PPC side of Metrowerks, since one of the AppsToGo libraries is balloon help support for
  53. system 6.  This is obviously useless on the PPC side.
  54.  
  55. Now for building the sample applications:
  56.  
  57. Let's assume that you want to build AppWannabe.  Open that folder, but before building,
  58. you need to  set up just one thing.
  59.  
  60. The .rsrc file is set up for THINK.  Leave it this way.  Single-click on it, and then
  61. create an alias.  Rename the alias “AppWannabe.µ.68k.rsrc”.  Create another and rename
  62. it “AppWannabe.µ.PPC.rsrc”.  You are now ready to build via the Metrowerks project files that are in the AppWannabe folder.
  63.  
  64. For any AppsToGo sample application, you will need to do the above alias strategy for
  65. the .rsrc file.
  66.  
  67. That's all there is to it!!  Have a party...
  68.  
  69.  
  70. Eric Soldan, Apple DTS
  71.  
  72.